package zsj.androidknife;

import android.content.Context;

import java.lang.ref.WeakReference;

/**
 * Created by Administrator on 2016/5/3 0003.
 */
public class Constants {
    private static WeakReference<Context> contextWeakReference;

    public static void setContext(Context context)
    {
        contextWeakReference = new WeakReference<>(context);
    }

    public static Context getContext()
    {
        return contextWeakReference.get();
    }
}
